﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class TrangThaiBus
    {
        public IEnumerable<TRANGTHAI> TrangThai()
        {
            TrangThaiDao ttDao = new TrangThaiDao();
            return ttDao.TrangThai();
        }
        public int LayMaTrangThai(string TenTrangThai)
        {
            TrangThaiDao ttDao = new TrangThaiDao();
            return ttDao.LayMaTrangThai(TenTrangThai);
        }
    }
}
